import { ActionType } from '../reducer/todo';

export const updateByIdAction = (id: number): ActionType => ({
  type: 'todo/updateById',
  payload: id,
});

export const clearDoneAction = (): ActionType => ({
  type: 'todo/clearDone',
});
